package com.kfyang.manualgear.constant;

import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.ParameterizedTypeName;

/**
 * 类型常量
 */
public interface TypeNameConstants {
    ClassName REPOSITORY_TYPE = ClassName.get("org.springframework.stereotype", "Repository");
    ClassName OBJECT_TYPE = ClassName.get("java.lang", "Object");
    ClassName DATE_TYPE = ClassName.get("java.util", "Date");
    ClassName LIST_TYPE = ClassName.get("java.util", "List");
    ClassName ARRAY_LIST_TYPE = ClassName.get("java.util", "ArrayList");

    ParameterizedTypeName LIST_OBJECT_TYPE = ParameterizedTypeName.get(LIST_TYPE, OBJECT_TYPE);
}
